import request from '@/router/axios';

//获取邮箱列表
export const queryEmail = () => {
  return request({
    url: '/api/blade-email/email',
    method: 'get'
  })
}
//根据指定邮箱查询对应的数量邮件
export const queryEmailNum = (param) => {
  return request({
    url: `/api/blade-email/emailInfo/${param}/emailNumber`,
    method: 'get'
  })
}

//根据邮箱类型查询对应的邮件列表(有分页)
export const queryEmailTypeList = (params) => {
  return request({
    url: '/api/blade-email/emailInfo/page',
    method: 'get',
    params
  })
}
